package com.yzh.springboot_rbac.service;


import com.yzh.springboot_rbac.entity.Role;

import java.util.List;

public interface RoleService{
    /*此接口对角色表进行操作*/
    /*1.添加角色*/
    Boolean isAddRole(Role role, Integer menuId) throws Exception;

    /*2.根据条件查询角色*/
    List<Role> selectRoleByCondition(Role role);

    /*3.修改角色*/

    Boolean isUpdateRole(Role role, Integer menuId) throws Exception;

    /*4.删除角色*/
    Boolean deleteRole(Role role) throws Exception;
}
